import java.util.concurrent.ConcurrentHashMap;


public class TestConcurrentHashMap {
	public static void main(String args[]){
		
		final ConcurrentHashMap map = new ConcurrentHashMap(5);
		
		Thread t1 = new Thread("Thread1"){
			public void run() {
				super.run();
				map.put("11111", "ddjjjd");
			}
		};
		t1.start();
		
		Thread t2 = new Thread("Thread2"){
			public void run() {
				super.run();
				map.put("666", "ddjjjd");
			}
		};
		t2.start();
		Thread t3 = new Thread("Thread3"){
			public void run() {
				super.run();
				map.put("ddddd", "ddjjjd");
			}
		};
		t3.start();
		
	}
	
	
	

}
